A Family of Speculative Concurrency Control Algorithms for Real-Time Databases

نویسندگان

  • Azer Bestavros
  • Spyridon Braoudakis
چکیده

Speculative Concurrency Control (SCC) was proposed in [Best92b] as a new concurrency control approach especially suited for real-time database applications. SCC relies on the use of redundancy to ensure that serializable schedules are discovered and adopted as early as possible, thus increasing the likelihood of the timely commitment of transactions with strict timing constraints. Using SCC, several shadow transactions execute on behalf of a given uncommitted transaction so as to protect against the hazards of blockages and restarts, which are characteristics of Pessimistic and Optimistic Concurrency Control algorithms, respectively. We present SCC-nS, a generic algorithm that characterizes a family of SCCbased algorithms. Under the SCC-nS algorithm, shadows executing on behalf of a transaction are either optimistic or speculative. Optimistic shadows execute under an assumed serialization order, which requires them to wait for no other con icting transactions. They execute unhindered until they are either aborted or committed. Speculative shadows are more conservative. They execute under an assumed serialization order, which requires them to wait for some con icting transactions to commit. In this paper, we provide a description of the SCC-nS algorithm, establish its correctness by showing that it only admits serializable histories, and demonstrate its superiority for RTDBMS through numerous examples. Three members of the SCC-nS family (namely SCC-1S, SCC-2S and SCC-MS) are singled out and contrasted. SCC-1S and SCC-MS represent two extremes in a spectrum of choices regarding the total amount of spared redundancy in the system. SCC-1S is notable for its minimal use of redundancy, whereas SCC-MS is notable for its liberal use thereof.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Implementation of a Speculative Concurrency Controller

Many scheduling algorithms for databases have been developed in order to improve transaction responsiveness. Some developed algorithms meet special needs of real-time databases. These algorithms however, deal with temporal execution aspects , often disregarding semantics of data usage which could further improve performance. One such algorithm is Speculative Concurrency Control , which uses exe...

متن کامل

Speculative Concurrency Control for Real-Time Databases

In this paper, we propose a new class of Concurrency Control Algorithms that is especially suited for real-time database applications. Our approach relies on the use of (potentially) redundant computations to ensure that serializable schedules are found and executed as early as possible, thus, increasing the chances of a timely commitment of transactions with strict timing constraints. Due to i...

متن کامل

Speculative Concurrency Control for Real-Time Databases

In this paper, we propose a new class of Concurrency Control Algorithms that is especially suited for real-time database applications. Our approach relies on the use of (potentially) redundant computations to ensure that serializable schedules are found and executed as early as possible, thus, increasing the chances of a timely commitment of transactions with strict timing constraints. Due to i...

متن کامل

Timeliness via Speculation for Real-Time Databases

Various concurrency control algorithms di er in the time when con icts are detected, and in the way they are resolved. In that respect, the Pessimistic and Optimistic Concurrency Control (PCC and OCC) alternatives represent two extremes. PCC locking protocols detect con icts as soon as they occur and resolve them using blocking. OCC protocols detect con icts at transaction commit time and resol...

متن کامل

Performance Evaluation of Two-Shadow Speculative Concurrency Control

Speculative Concurrency Control (SCC) [Best92a] is a new concurrency control approach especially suited for real-time database applications. It relies on the use of redundancy to ensure that serializable schedules are discovered and adopted as early as possible, thus increasing the likelihood of the timely commitment of transactions with strict timing constraints. In [Best92b], SCC-nS, a generi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992